Hello, |
Re: Using Word template(.dot) through DXL Why not use Word Export and specify the .dot as your templatE? |
Re: Using Word template(.dot) through DXL |
Re: Using Word template(.dot) through DXL llandale - Fri Apr 27 12:28:47 EDT 2012 |
Re: Using Word template(.dot) through DXL SystemAdmin - Mon Apr 30 04:50:42 EDT 2012 Try this:
string TemplateFullPath = "c:\\My Template.dot"
OleAutoObj ObjWord = oleCreateAutoObject("Word.Application")
OleAutoObj ObjDocuments
oleGet(ObjWord, "Documents", ObjDocuments)
OleAutoArgs autoArgs = create()
clear autoArgs
put(autoArgs, "Template", TemplateFullPath)
OleAutoObj ObjDocument
oleMethod(ObjDocuments, "Add", autoArgs, ObjDocument)
|
Re: Using Word template(.dot) through DXL SystemAdmin - Mon Apr 30 05:18:34 EDT 2012 Try this:
string TemplateFullPath = "c:\\My Template.dot"
OleAutoObj ObjWord = oleCreateAutoObject("Word.Application")
OleAutoObj ObjDocuments
oleGet(ObjWord, "Documents", ObjDocuments)
OleAutoArgs autoArgs = create()
clear autoArgs
put(autoArgs, "Template", TemplateFullPath)
OleAutoObj ObjDocument
oleMethod(ObjDocuments, "Add", autoArgs, ObjDocument)
This is what I was looking for. |
Re: Using Word template(.dot) through DXL SystemAdmin - Mon Apr 30 06:03:15 EDT 2012 Adam |